﻿#include "common.h"

// 打印开始菜单
void printStartUI() {
	cout << "欢迎来到星露谷物语(控制台版本)，仅可用作学习使用" << endl << endl;

	vector<GameMenu> menus{
		{"创建", 1},
		{"加载", 2},
		{"退出", 3},
	};

	int menu = getMenuSelectInput({ menus });

	if (menu == 1) {
		pushHistory("create_character");
	}
	else if (menu == 2) {
		initStore();
		pushHistory("home");
	}
	else if (menu == 3) {
		doQuit();
	}

}
